<?php
load_ctl("admin_Common");
class Admin_PhoclassController extends Admin_CommonController {
	function init(){
		parent::init();
		load_model('Photo');
		$this->phoclass = new Photo();
	}
	public function indexAction(){
		$this->view->title = "相册信息";
		$this->view->phoclass_list = $this->phoclass->get_phoclass_list();
		
		$this->view->mainphp = 'views/scripts/admin/index/phoclass.phtml';
		echo $this->view->render("index.phtml");
	}
	
	public function noRouteAction(){
		$this->_redirect('/');
	}
	
}
?>